package com.csjbot.snowbot_rogue.Events;

import com.csjbot.csjbase.event.IBus;

/**
 * Copyright (c) 2017, SuZhou CsjBot. All Rights Reserved.
 * www.csjbot.com
 * <p>
 * Created by 浦耀宗 at 2017/05/31 0031-17:49.
 * Email: puyz@csjbot.com
 */

public class TestDataEvent implements IBus.IEvent {
    private Object object;
    private int tag = 0;

    public TestDataEvent(int tag, Object object) {
        this.tag = tag;
        this.object = object;
    }

    public TestDataEvent(int tag) {
        this.tag = tag;
    }

    @Override
    public int getTag() {
        return tag;
    }

    public Object getObject() {
        return object;
    }

    public void setObject(Object object) {
        this.object = object;
    }
}
